﻿/**
 * DotNetFetion, a simple fetion library written by C#
 * Copyright (C) 2009  zucky
 * 
 * This file is part of DotNetFetion.
 * 
 * DotNetFetion is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.

 * DotNetFetion is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with DotNetFetion.  If not, see <http://www.gnu.org/licenses/>.
 * 
 * 本人实现的该类库是基本上参看php版本的fetion，具体是谁写的我在其源代码中没有注明，
 * 所以我也不知道是谁，在此表示感谢。飞信是中国移动的产品，归中国移动公司所有，
 * 请不要将该类库用于非法途径和商业途径，与此产生的一切法律后果与本人无关。
 * 
 * 有任何问题，可以访问我的博客：http://zucky.cnblogs.com 留言，或发email至ssdut@126.com，
 * 使用本类库请遵循GPL v3协议。
 **/

using System;
using System.Collections.Generic;
using System.Text;
using com.dlut.ssdut.zucky.DotNetFetion;

namespace test
{
    class Program
    {
        static void Main(string[] args)
        {
            Fetion fetion = new Fetion("13800000000", "×××××");
            fetion.Login();
            fetion.SendSMSToPhone("13800000000", "你好呀，测试是否成功，上的分类法律疯狂的历史。");
            fetion.Logout();
        }
    }
}
